from django.urls import path
from .views import MyTokenRefreshView
from . import views

urlpatterns = [
    path('login/',views.login),
    path('register/',views.register),
    path('logout/',views.logout),
    path('refresh/',MyTokenRefreshView.as_view(),name='token_refresh'),
    path('updata_avatar/',views.updata_avatar),
    path('<int:id>/avatar/',views.get_user_avatar),
]